package com.itheima.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface ReportMapper {

    @Select("select s.name,count(*) value from tb_order o,tb_setmeal s where o.setmeal_id = s.id group by setmeal_id")
    public List<Map>selectSetMealRate();
}
